/**
 * Created by GYL on 2018/7/25
 */
import React, { Component } from 'react';
import { Tabs } from 'antd';
import RepPan from './tab/RepPan';
import RepAir from './tab/RepAir';
import RepSell from './tab/RepSell';
import style from './RepControl.less';
const TabPane = Tabs.TabPane;
class RepControl extends Component {

    render() {

        return (
            <div className={style.wrap}>
                <Tabs defaultActiveKey="1" size="small">
                    {/* <TabPane tab="总览视图" key="1">
                        <RepPan
                            history={this.props.history}
                        />
                    </TabPane> */}
                    <TabPane tab="进气台账" key="2">
                        <RepAir
                            history={this.props.history}
                        />
                    </TabPane>
                    <TabPane tab="销售台账" key="3">
                        <RepSell
                            history={this.props.history}
                        />
                    </TabPane>
                </Tabs>
            </div>
        )
    }
}
export default (RepControl);
